{extend name="../application/public/base.html" /}
{block name="head"}
	<link rel="stylesheet" href="ADMIN_CUSTOM/css/list.css">
	<style type="text/css">
    	.layui-card-body{
		  	min-width: 1045px;
		  	/*overflow-x: hidden !important;*/
		}
		.repair-btn{
			  width: calc(20% - 25px) !important;
			  height: 85px !important;
			  font-size: 25px !important;
			  margin-top: 10px;
			  margin-left: 0px !important;
			  margin-right: 20px !important;
			  line-height: 85px !important;
		}
		.repair-btn:nth-child(1){
		  	background: rgba(0, 204, 255, 1);
		}
		.repair-btn:nth-child(2){
		  	background: rgba(153, 102, 153, 1);
		}
		.repair-btn:nth-child(3){
		  	background: rgba(51, 51, 51, 1);
		}
		.repair-btn:nth-child(4){
		  	background: rgba(153, 0, 0, 1);
		}
		.repair-btn:nth-child(5){
		  	background: rgba(22, 155, 213, 1);
		}

		.layui-table tr td{
		  	min-width: 20px !important;
		}
		.layui-table th{
		  	min-width: 20px !important;
		}
    </style>
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
						<div class="layui-card-body ">
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('已取机','/repair/repair/index/ty/8')">
                            	<img src="ADMIN_CUSTOM/img/ddwxpj.png"> | 已取机
                            </div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('待取机','/repair/repair/index/ty/6')">
                            	<img src="ADMIN_CUSTOM/img/dqj.png"> | 待取机</div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('维修失败','/repair/repair/index/ty/9')">
                            	<img src="ADMIN_CUSTOM/img/wxsb.png"> | 维修失败</div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('维修取消','/repair/repair/index/ty/10')">
                            	<img src="ADMIN_CUSTOM/img/wxsb.png"> | 维修取消</div>
                            <div class="layui-btn repair-btn" onclick="xadmin.parent_add_tab('维修分析','repair_analysis.html')">
                            	<img src="ADMIN_CUSTOM/img/wxsb.png"> | 维修分析</div>
                        </div>
                        <div class="layui-card-body ">
                        	<form class="layui-form layui-col-space5">
	                            <div class="layui-btn time-btn zcc-active" ty="now" lay-submit lay-filter="search">本月(默认)</div>
	                            <div class="layui-btn time-btn" ty="pre" lay-submit lay-filter="search">上月</div>
                            	<div class="layui-btn time-btn" ty="cus" lay-submit lay-filter="search">日期自定义</div>
								<div class="layui-inline layui-show-xs-block zcc-hide">
                                	<input class="layui-input" autocomplete="off" placeholder="开始日" name="start" id="start">
                            	</div>
                            	<div class="layui-inline layui-show-xs-block zcc-hide">
                                	<input class="layui-input" autocomplete="off" placeholder="截止日" name="end" id="end">
                            	</div>
                            	<div class="layui-inline layui-show-xs-block">
                                	<select name="shop_id" class="layui-select">
                                    	<option value="">所有门店</option>
                                    	{volist name="shop" id="v"}
                                    	<option value="{$v.shop_id}">{$v.shop_name}</option>
                                    	{/volist}
                                   	</select>
                            	</div>
                            	<div class="layui-inline layui-show-xs-block">
                                	<select name="order_name" class="layui-select">
                                    	<option value="order_num">维修订单数</option>
                                   	</select>
                            	</div>
                                <div class="layui-input-inline layui-show-xs-block">
                                    <div class="layui-btn" lay-submit="" lay-filter="search">
                                        <i class="layui-icon">&#xe615;</i></div>
                                </div>
                            </form>
                        </div>

                        <div class="layui-card-body">
                            <div class="layui-tab-content">
								<table class="layui-table layui-form" id="table-list" lay-filter="list">
	                              	
                            	</table>
						  	</div>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
	<script type="text/javascript" src="ADMIN_CUSTOM/js/repair/goods/parts_count.js"></script>
{/block}